$OpenBSD: patch-clamd_Makefile_in,v 1.20 2016/05/04 07:12:55 sthen Exp $
--- clamd/Makefile.in.orig	Fri Apr 22 17:19:51 2016
+++ clamd/Makefile.in	Wed May  4 00:09:31 2016
@@ -369,7 +369,9 @@ JSON_LDFLAGS = @JSON_LDFLAGS@
 JSON_LIBS = @JSON_LIBS@
 LCOV = @LCOV@
 LD = @LD@
-LDFLAGS = @LDFLAGS@
+# Do not generate "LDFLAGS = -L/usr/local/lib" to build on systems that have
+# have an older libclamav installed.
+#LDFLAGS = @LDFLAGS@
 LEX = @LEX@
 LEXLIB = @LEXLIB@
 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
